<script>
$('li[data-active="<?php echo empty($conf['nav_2_bbs_on']) ? 'index' : 'bbs'; ?>"]').addClass('active');
</script>